import 'package:flutter/material.dart';

class MinePickAddress extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      height: 140,
      margin: EdgeInsets.only(left: 10, right: 10, bottom: 10),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(10),
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Container(
            height: 44,
            padding: EdgeInsets.all(10),
            child: Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: [
                Text(
                  "我的当前自提点",
                  style: TextStyle(
                      color: Colors.black, fontWeight: FontWeight.bold, fontSize: 16),
                ),
                Row(
                  children: [
                    Text(
                      "切换",
                    ),
                    Icon(Icons.keyboard_arrow_right)
                  ],
                )
              ],
            ),
          ),
          Divider(
            color: Color(0xFFEEEEEE),
            height: 2,
          ),
          Padding(
            padding: EdgeInsets.only(top: 10),
          ),
          Container(
            margin: EdgeInsets.only(left: 10),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Text(
                  "[秀水名都]超超便利店",
                  style: TextStyle(
                    fontSize: 16,
                    color: Colors.red,
                    fontWeight: FontWeight.bold,
                  ),
                ),
                Padding(
                  padding: EdgeInsets.only(top: 2),
                ),
                Text(
                  "贵州省贵阳市观山湖区金融城2期n5栋",
                  style: TextStyle(fontSize: 15, color: Colors.grey),
                ),
                Padding(
                  padding: EdgeInsets.only(top: 2),
                ),
                RichText(
                  text: TextSpan(children: [
                    TextSpan(
                      text: "电话:",
                      style: TextStyle(fontSize: 15, color: Colors.black),
                    ),
                    TextSpan(
                      text: "18217725787",
                      style: TextStyle(fontSize: 15, color: Colors.red),
                    ),
                  ]),
                )
              ],
            ),
          )
        ],
      ),
    );
  }
}
